package com.gitee.maskit.jackson.converter;

import com.fasterxml.jackson.databind.util.StdConverter;

import java.util.Date;

public class JacksonLongStringToDate extends StdConverter<String, Date> {
    public Date convert(String value) {
        return null != value ? new Date(Long.valueOf(value)) : null;
    }
}
